<? 

foreach($entitet_top as $e) {

    echo "<h3 class='ink'>".anchor("almanak/side/".$e->id,$e->navn,"class='ink'")."</h3>";
    echo "<ul class='ink'>";
    foreach($e_lvl1 as $l) {

        if($e->navn == $l['top_navn'])  {
            foreach($l['under'] as $u) {
            echo "<li>".anchor("almanak/side/".$u['under_id'],$u['navn'],"class='ink'")."</li>";
            }

        }

    }
    echo "</ul><br>";

}


 ?>
	
